package com.jolink.omiis.wechat.inner;

import com.jolink.omiis.wechat.api.impl.WeChatApiBaseService;

import io.socket.emitter.Emitter.Listener;

public abstract class ResponseMessageHandler extends WeChatApiBaseService implements Listener {

	private String event;

	public ResponseMessageHandler() {
		this.event = IOmiisMessager.EVENT_OMIIS_CUSTOM_MESSAGE;
	}

	private IOmiisMessager messager = null;

	/**
	 * @return the messager
	 */
	public IOmiisMessager getMessager() {
		return messager;
	}

	/**
	 * @param messager
	 *            the messager to set
	 */
	public void setMessager(IOmiisMessager messager) {
		this.messager = messager;
	}

	/**
	 * @return the event
	 */
	public String getEvent() {
		return event;
	}

	/**
	 * @param event
	 *            the event to set
	 */
	public void setEvent(String event) {
		this.event = event;
	}

}
